package com.web.currency.service;

import com.web.currency.entity.Currency;
import com.web.currency.mapper.CurrencyMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wenzhuo
 * @create 2024-01-10 2024/1/10
 */

@Service
public class CurrencyService {

    @Resource
    private CurrencyMapper currencyMapper;

    public List<Currency> getCurrencyList(){
        return currencyMapper.getCurrencys();
    }
}
